<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.18"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Railway Operation Simulator: PerfLogUnit.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="railway-logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Railway Operation Simulator
   &#160;<span id="projectnumber">v2.23.2</span>
   </div>
   <div id="projectbrief">A railway simulator for Windows</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.18 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('_perf_log_unit_8h_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">PerfLogUnit.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_perf_log_unit_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">//---------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160; </div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="preprocessor">#ifndef PerfLogUnitH</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#define PerfLogUnitH</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">//---------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &lt;System.Classes.hpp&gt;</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#include &lt;Vcl.Controls.hpp&gt;</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#include &lt;Vcl.StdCtrls.hpp&gt;</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#include &lt;Vcl.Forms.hpp&gt;</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#include &lt;Vcl.ExtCtrls.hpp&gt;</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &lt;windows.h&gt;</span>            <span class="comment">//needed for 64 bit compilation</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">//---------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="class_t_perf_log_form.html">   13</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_t_perf_log_form.html">TPerfLogForm</a> : <span class="keyword">public</span> TForm</div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;{</div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;__published:    <span class="comment">// IDE-managed Components</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="class_t_perf_log_form.html#a4917557ea994bf5d5e2aa2e81c4afdc8">   16</a></span>&#160;    TMemo *<a class="code" href="class_t_perf_log_form.html#a4917557ea994bf5d5e2aa2e81c4afdc8">PerformanceLogBox</a>;</div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;    <span class="keywordtype">void</span> __fastcall <a class="code" href="class_t_perf_log_form.html#af0b59165ef1dd98e5631a54905dbfa1a">FormCreate</a>(TObject *Sender);</div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;    <span class="keywordtype">void</span> __fastcall <a class="code" href="class_t_perf_log_form.html#a7b46c43456a2b9ecdadcb5434746f70b">FormResize</a>(TObject *Sender);</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="keyword">private</span>:    <span class="comment">// User declarations</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="keyword">public</span>:     <span class="comment">// User declarations</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment">//variables</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment"></span><span class="comment">//functions</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;    __fastcall <a class="code" href="class_t_perf_log_form.html#a8e221ed16ed56696a40afa5b0a6c1cb8">TPerfLogForm</a>(TComponent* Owner);</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_t_perf_log_form.html#a72f06bf03353c15c94ceefbf420ff7b4">PerformanceLog</a>(<span class="keywordtype">int</span> Caller, AnsiString Statement);</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;};</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="comment">//---------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="keyword">extern</span> PACKAGE <a class="code" href="class_t_perf_log_form.html">TPerfLogForm</a> *<a class="code" href="_perf_log_unit_8h.html#a14eae6e60a210278028b65e54cffecfa">PerfLogForm</a>;</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="comment">//---------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#endif</span></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aclass_t_perf_log_form_html_a7b46c43456a2b9ecdadcb5434746f70b"><div class="ttname"><a href="class_t_perf_log_form.html#a7b46c43456a2b9ecdadcb5434746f70b">TPerfLogForm::FormResize</a></div><div class="ttdeci">void __fastcall FormResize(TObject *Sender)</div><div class="ttdoc">the performance log displayed during operation</div><div class="ttdef"><b>Definition:</b> <a href="_perf_log_unit_8cpp_source.html#l00043">PerfLogUnit.cpp:43</a></div></div>
<div class="ttc" id="aclass_t_perf_log_form_html_a72f06bf03353c15c94ceefbf420ff7b4"><div class="ttname"><a href="class_t_perf_log_form.html#a72f06bf03353c15c94ceefbf420ff7b4">TPerfLogForm::PerformanceLog</a></div><div class="ttdeci">void PerformanceLog(int Caller, AnsiString Statement)</div><div class="ttdoc">Send Statement to the performance log on screen and to the file.</div><div class="ttdef"><b>Definition:</b> <a href="_perf_log_unit_8cpp_source.html#l00032">PerfLogUnit.cpp:32</a></div></div>
<div class="ttc" id="aclass_t_perf_log_form_html_a8e221ed16ed56696a40afa5b0a6c1cb8"><div class="ttname"><a href="class_t_perf_log_form.html#a8e221ed16ed56696a40afa5b0a6c1cb8">TPerfLogForm::TPerfLogForm</a></div><div class="ttdeci">__fastcall TPerfLogForm(TComponent *Owner)</div><div class="ttdoc">&lt; true when the 'show performance panel' button has been clicked during operation</div><div class="ttdef"><b>Definition:</b> <a href="_perf_log_unit_8cpp_source.html#l00013">PerfLogUnit.cpp:13</a></div></div>
<div class="ttc" id="aclass_t_perf_log_form_html_a4917557ea994bf5d5e2aa2e81c4afdc8"><div class="ttname"><a href="class_t_perf_log_form.html#a4917557ea994bf5d5e2aa2e81c4afdc8">TPerfLogForm::PerformanceLogBox</a></div><div class="ttdeci">TMemo * PerformanceLogBox</div><div class="ttdef"><b>Definition:</b> <a href="_perf_log_unit_8h_source.html#l00016">PerfLogUnit.h:16</a></div></div>
<div class="ttc" id="a_perf_log_unit_8h_html_a14eae6e60a210278028b65e54cffecfa"><div class="ttname"><a href="_perf_log_unit_8h.html#a14eae6e60a210278028b65e54cffecfa">PerfLogForm</a></div><div class="ttdeci">PACKAGE TPerfLogForm * PerfLogForm</div><div class="ttdef"><b>Definition:</b> <a href="_perf_log_unit_8cpp_source.html#l00011">PerfLogUnit.cpp:11</a></div></div>
<div class="ttc" id="aclass_t_perf_log_form_html_af0b59165ef1dd98e5631a54905dbfa1a"><div class="ttname"><a href="class_t_perf_log_form.html#af0b59165ef1dd98e5631a54905dbfa1a">TPerfLogForm::FormCreate</a></div><div class="ttdeci">void __fastcall FormCreate(TObject *Sender)</div><div class="ttdef"><b>Definition:</b> <a href="_perf_log_unit_8cpp_source.html#l00018">PerfLogUnit.cpp:18</a></div></div>
<div class="ttc" id="aclass_t_perf_log_form_html"><div class="ttname"><a href="class_t_perf_log_form.html">TPerfLogForm</a></div><div class="ttdef"><b>Definition:</b> <a href="_perf_log_unit_8h_source.html#l00013">PerfLogUnit.h:14</a></div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="_perf_log_unit_8h.html">PerfLogUnit.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.18 </li>
  </ul>
</div>
</body>
</html>
